<template>
    <Item :Config="Config" :level="level">
        <template #Child="{ Config }">
            <DragItem :Config="Config" :TreeMap="TreeMap" :level="level + 1" />
        </template>
    </Item>
</template>

<script setup>
import { shallowRef } from 'vue'
const props = defineProps(['Config', 'TreeMap', 'level']);


const Item = shallowRef(props.TreeMap[props.Config.formType]);

</script>

<style lang="less" scoped></style>